/**
 * SparePartService.java
 * 2008-3-13
 * @author 屈甲康
   qujiakang@gmail.com
 */
package org.jackysoft.service;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jackysoft.data.IDataProvider;
import org.jackysoft.entity.Department;
import org.jackysoft.entity.SparePart;
import org.jackysoft.util.Page;
import org.joda.time.DateTime;
import org.springframework.dao.DataAccessException;

/**
 * @author 屈甲康
 * QQ285799123
 * 
 */
public interface SparePartService extends IDataProvider<String,SparePart>{
	final static Log logger = LogFactory.getLog(SparePartService.class);	
	Page statByDate(DateTime date) throws DataAccessException;
    Page statByOwner(Department owner,DateTime date,Integer page,Integer offset)throws DataAccessException;
}
